package com.lingyu.jsjx.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 共享
对象 jsjx_document_share
 * 
 * @author ruoyi
 * @date 2025-07-31
 */
@Getter
@Setter
@NoArgsConstructor
@TableName("jsjx_document_share")
public class DocumentShare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "share_id", type = IdType.AUTO)
    private Long shareId;

    /** 文档id */
    @Excel(name = "文档id")
    private Long wordId;

    /** 组织机构 */
    @Excel(name = "组织机构")
    private String deptId;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shareId", getShareId())
            .append("wordId", getWordId())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
